package com.autcar.training.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ProjectName: training
 * @Package: com.autcar.training.pojo
 * @ClassName: Customer
 * @Author: YHHHH
 * @Description: 客户实体类
 * @Date: 2020/8/27 9:59
 * @Version: 1.0
 */
@Data
@TableName("customer")
public class Customer implements Serializable {
    private static final long serialVersionUID = 1L;
    /*
    *   主键ID
    *
    * */
    @TableId(type = IdType.AUTO)
    private Integer id ;

    /*
    * 客户姓名
    *
    * */
    private String name;
    /*

    客户性别

     */
    private Integer sex;

    /*

    客户电话号码

     */
    private String phone;
    /*

    生日
     */
    private String birth;
    /*

    年龄
     */
    private Integer age;
    /*

    邮箱
     */
    private String email;
    /*
    地址
     */
    private String address;

    /*
    会员等级
     */
    private Integer level;

}
